<template>
	<view class="main">
		<view class="content">
			<image src="../../static/icon/success.png" mode=""></image>
			<view class="title">支付成功</view>
			<!-- <view class="price">¥{{price}}</view> -->
		</view>
		<view class="btn" @click="ToPage">进入个人中心</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				price:0
			}
		},
		onLoad(e) {
			this.price = e.price
		},
		onShow() {

		},
		onPullDownRefresh() {
		    setTimeout(function () {
		        uni.stopPullDownRefresh();
		    }, 1000);
		},
		methods: {
			ToPage(){
				// uni.switchTab({
				//     url: '/pages/My/index'
				// });
				uni.switchTab({
				    url: '/pages/newMy/index'
				});
				
			}
		}
	}
</script>

<style lang="less" scoped>
	.main {
		.content{
			text-align: center;
			image{
				width: 136rpx;
				height: 136rpx;
				margin-top: 126rpx;
			}
			.title{
				font-size: 32rpx;
				font-weight: 600;
				color: #222222;
				line-height: 44rpx;
				margin-top: 72rpx;
			}
			.price{
				margin-top: 26rpx;
				font-size: 48rpx;
				font-weight: 600;
				color: #000000;
				line-height: 66rpx;
			}
		}
		.btn{
			width: calc(100% - 56rpx);
			position: absolute;
			left: 28rpx;
			top: calc(50% - 40rpx);
			height: 80rpx;
			background: #F5F5F5;
			border-radius: 40rpx;
			border: 2rpx solid #F1EDED;
			text-align: center;
			line-height: 80rpx;
			font-size: 30rpx;
			font-weight: 400;
			color: #222222;
		}
	}
</style>
